package com.example.common;

import com.example.http.HttpRequestServer;
import com.example.http.HttpRespServer;
import com.example.socket.ServletRequest;
import com.example.socket.ServletResponse;

/**
 * @Classname HttpHandlerFilter
 * @Description TODO
 * @Date 2023/4/26 9:29
 * @Created by XiongXiong
 * @Author: X.I.O
 *
 * 过滤器
 */
public interface HttpHandlerFilter {


    /**
     * 过滤器
     * @param request  响应头
     * @param response 响应体
     * @return
     */
    public boolean doFilter(ServletRequest request, ServletResponse response);
}
